﻿@model LogModel

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">内容&nbsp;&nbsp;&nbsp;<a href="javascript:;" layadmin-event="back">返回</a></div>
                <div class="layui-card-body">
                    <div class="layui-form" wid200>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="LogLevel" />
                                <div class="layui-form-mid layui-word-aux">
                                    @Model.LogLevel
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="ShortMessage" />
                                <div class="layui-form-mid layui-word-aux">
                                    @Model.ShortMessage
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="FullMessage" />
                                <div class="layui-form-mid">
                                    @Model.FullMessage
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="IpAddress" />
                                <div class="layui-form-mid layui-word-aux">
                                   @Model.IpAddress
                                </div>
                            </div>
                        </div>
                        @if (Model.UserId.HasValue)
                        {
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <u-label asp-for="UserId" />
                                    <div class="layui-form-mid layui-word-aux">
                                        @Html.ActionLink(!String.IsNullOrEmpty(Model.UserEmail) ? Model.UserEmail : T("Admin.Users.Guest").Text, "Edit", "User", new { id = Model.UserId }, new { })
                                    </div>
                                </div>
                            </div>
                        }
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="PageUrl" />
                                <div class="layui-form-mid layui-word-aux">
                                    @Model.PageUrl
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="ReferrerUrl" />
                                <div class="layui-form-mid layui-word-aux">
                                    @Model.ReferrerUrl
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <u-label asp-for="CreateTime" />
                                <div class="layui-form-mid layui-word-aux">
                                    @Model.CreateTime
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script>
    layui.config({
        base: '../../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index']);
</script>

